package com.swt.gap.model.vo.element;


import com.swt.gap.common.graph.GraphNeo4jVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class ElementParseVO {

//    private ExtractResultVO extractResultVO;
    private CombinedResult combinedResult;

    private List<EventExtractVO> eventExtractVOS;

    private GraphNeo4jVO graph;

    @ApiModelProperty(value = "除提取事件之外的其他事件类型")
    private List<EventExtractVO> otherEventExtract;

    /**
     * 事件类型里的事件数据
     */
    @ApiModel
    @Data
    public static class EventExtractVO{
        private String eventTypeName;

        private Integer eventTypeId;

        private Integer count;

        private List<EventElementVO> elementVOS;

        private List<EventList> eventLists;

        /**
         * 事件名称及其要素
         */
        @ApiModel
        @Data
        public static class EventList{
//            private int begin;

//            private int end;

            private String eventName;

//            private SingleFormVO singleForm;
            private List<String> header;

            private List<EventContentVO> eventContentVOS;

        }
    }

}

